Carbon


GetWindowProxyFSSpec

Header: MacWindows.h Carbon status: Supported

Obtains a file system specification structure for the file that is associated with a window.

OSStatus GetWindowProxyFSSpec (
    WindowRef window, 
    FSSpec *outFile
);
window

A pointer to the window for which you wish to determine the associated file.

outFile

On input, a pointer to an FSSpec structure. On return, this structure contains a copy of the file system specification data for the file associated with the specified window.

function result

A result code.

DISCUSSION

You can use the GetWindowProxyFSSpec function to obtain identifying information about a proxy file: its volume reference number, directory ID, and file name.

See also the function SetWindowProxyFSSpec.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when WindowsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by WindowsLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)